package com.wunong.smart.commission.client.service;

import com.wunong.smart.commission.client.param.CancelCommissionParam;
import com.wunong.smart.commission.client.param.CreateCommissionParam;
import com.wunong.smart.commission.client.param.FinishCommissionParam;
import com.wunong.smart.domain.platform.rpc.Result;

/**
 * 代办写服务
 *
 * @author create by zealot.zt
 */
public interface CommissionWriteService {

    /**
     * 创建代办
     *
     * @param param
     * @return
     */
    Result<Long> create(CreateCommissionParam param);

    /**
     * 取消代办
     *
     * @param param
     * @return
     */
    Result<Void> cancel(CancelCommissionParam param);

    /**
     * 结束代办
     *
     * @param param
     * @return
     */
    Result<Void> finish(FinishCommissionParam param);

}
